package br.com.SRP.Controle;

import java.util.List;

import br.com.SRP.Dao.Ckl02AcaoDAO;
import br.com.SRP.Modelo.Ckl02Acao;

public class ControlAcaoCkl {
	private Ckl02Acao cklAcao;

	private Ckl02AcaoDAO cklAcaoDAO;
 
	private int codigo; 

	public ControlAcaoCkl() {
		cklAcao = new Ckl02Acao();
		cklAcaoDAO = new Ckl02AcaoDAO();

	}

	public void save(Ckl02Acao cklParamCkl) throws Exception {
		cklAcaoDAO.salvar(cklParamCkl);
	}
	
	public List<Ckl02Acao> getAcaoCkl() {
		return cklAcaoDAO.listar();
	}
}